import request from '@/utils/request'

// 胸痛
export function getTimeAxis(data) {
  return request({
    url: '/statisticScreen/getTimeAxis',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_STATIS
  })
}

// 胸痛新
export function getTimeAxisNew(data) {
  return request({
    url: '/statisticScreen/getTimeAxisNew',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_STATIS
  })
}

// 卒中
export function getStrokeTimeAxis(data) {
  return request({
    url: '/statisticScreenStroke/getStrokeTimeAxis',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_STATIS
  })
}

// 卒中新
export function getStrokeTimeAxisNew(data) {
  return request({
    url: '/statisticScreenStroke/getStrokeTimeAxisNew',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_STATIS
  })
}
